Part Number Hot Search : 
LA100 74LS3 4148W ADE3250 MT3506W S2301 74LS3 74LS3
Product Description
Full Text Search
 

To Download DS8313 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 19-4655; Rev 1; 5/09
www..com
Smart Card Interface
General Description
The DS8313 smart card and SIM interface IC is a lowcost, analog front-end for a smart card reader designed for smart card applications that do not require the use of the auxiliary card I/O contacts C4 and C8 (AUX1 and AUX2). The DS8313 supports 5V, 3V, and 1.8V smart cards. The absence of a charge pump reduces active power consumption, and the DS8313 also supports an ultra-low-power 10nA stop mode. The DS8313 is designed to interface between a system microcontroller and the smart card interface, providing all power supply, protection, and level shifting required for IC card applications. The DS8314 is similar to the DS8313, but only uses one analog (smart card) power supply. Therefore, the device has reduced ability to provide power to smart cards, but it is still sufficient for many applications, allowing the DS8314 to drop into many TDA8024 sockets without hardware changes. The DS8313L and DS8314L use a negative polarity-presence detect instead of the default positive-polarity detect. Both devices are available in a 28-pin SO package.
Features
Analog Interface and Level Shifting for IC Card Communication 8kV (min) ESD (HBM) Protection on Card Interfaces Ultra-Low Stop-Mode Current, Less Than 10nA Typical Internal IC Card Supply-Voltage Generation 5.0V 5%, 80mA (max) 3.0V 8%, 65mA (max) 1.8V 10%, 30mA (max) Automatic Card Activation and Deactivation Controlled by Dedicated Internal Sequencer I/O Lines from Host Directly Level Shifted for Smart Card Communication Flexible Card Clock Generation, Supporting External Crystal Frequency Divided by 1, 2, 4, or 8 High-Current, Short-Circuit and High-Temperature Protection Low Active-Mode Current
DS8313/DS8314
Applications
Pay/Premium Television Access Control Banking Applications POS Terminals Debit/Credit Payment Terminals PIN Pads Automated Teller Machines Telecommunications
PART DS8313-RRX+ DS8313L-RRX+* DS8314-RRX+* DS8314L-RRX+*
Ordering Information
TEMP RANGE -40C to +85C -40C to +85C -40C to +85C -40C to +85C PIN-PACKAGE 28 SO 28 SO 28 SO 28 SO
Note: Contact the factory for availability of other variants and package options. +Denotes a lead(Pb)-free/RoHS-compliant package. *Future product--contact factory for availability.
Typical Application Circuit, Pin Configuration, and Selector Guide appear at end of data sheet.
Note: Some revisions of this device may incorporate deviations from published specifications known as errata. Multiple revisions of any device may be simultaneously available through various sales channels. For information about device errata, go to: www.maxim-ic.com/errata.
________________________________________________________________ Maxim Integrated Products
1
For pricing, delivery, and ordering information, please contact Maxim Direct at 1-888-629-4642, or visit Maxim's website at www.maxim-ic.com.
www..com
Smart Card Interface DS8313/DS8314
ABSOLUTE MAXIMUM RATINGS
Voltage Range on VDD Relative to GND ...............-0.5V to +6.5V Voltage Range on VDDA Relative to GND .............-0.5V to +6.5V Voltage Range on All Other Pins Relative to GND......................................-0.5V to (VDD + 0.5V) Maximum Junction Temperature .....................................+125C Maximum Power Dissipation (TA = -25C to +85C) .......700mW Storage Temperature Range .............................-55C to +150C Soldering Temperature.........Refer to the IPC/JEDEC J-STD-020 Specification.
Stresses beyond those listed under "Absolute Maximum Ratings" may cause permanent damage to the device. These are stress ratings only, and functional operation of the device at these or any other conditions beyond those indicated in the operational sections of the specifications is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability.
RECOMMENDED DC OPERATING CONDITIONS
(VDD = +3.3V, VDDA = +5.0V, TA = +25C, unless otherwise noted. All specifications apply to both the DS8313 and DS8314, unless otherwise noted in the CONDITIONS column.) (Note 1)
PARAMETER POWER SUPPLY Digital Supply Voltage Card Voltage-Generator Supply Voltage Reset Voltage Thresholds CURRENT CONSUMPTION Active VDD Current 5V Cards (Including 80mA Draw from 5V Card) Active VDD Current 5V Cards (Current Consumed by DS8313/DS8314 Only) Active VDD Current 3V Cards (Including 65mA Draw from 3V Card) Active VDD Current 3V Cards (Current Consumed by DS8313/DS8314 Only) Active VDD Current 1.8V Cards (Including 30mA Draw from 1.8V Card) Active VDD Current 1.8V Cards (Current Consumed by DS8313/DS8314 Only) Inactive-Mode Current IDD_50V IDD_IC IDD_30V IDD_IC IDD_18V IDD_IC IDD ICC = 80mA, f XTAL = 20MHz, fCLK = 10MHz, VDDA = 5.0V ICC = 80mA, fXTAL = 20MHz, fCLK = 10MHz, VDDA = 5.0V (Note 2) ICC = 65mA, f XTAL = 20MHz, fCLK = 10MHz, VDDA = 5.0V ICC = 65mA, fXTAL = 20MHz, fCLK = 10MHz, VDDA = 5.0V (Note 2) ICC = 30mA, f XTAL = 20MHz, fCLK = 10MHz, VDDA = 5.0V ICC = 30mA, fXTAL = 20MHz, fCLK = 10MHz, VDDA = 5.0V (Note 2) Card inactive, active-high PRES, DS8313/DS8314 not in stop mode DS8313/DS8314 in ultra-low-power stop mode (CMDVCC, 5V/3V, and 1_8V set to logic 1) (Note 3) 80.75 0.75 65.75 0.75 30.75 0.75 50 85 5 70 5 40 5 40 mA mA mA mA mA mA A VDD VDDA VTH2 VHYS2 DS8313, DS8314 Threshold voltage (falling) Hysteresis 2.7 4.75 2.35 50 2.45 100 6.0 6.0 2.65 150 V V V mV SYMBOL CONDITIONS MIN TYP MAX UNITS
Stop-Mode Current
IDD_STOP
10
A
2
_______________________________________________________________________________________
www..com
Smart Card Interface
RECOMMENDED DC OPERATING CONDITIONS (continued)
(VDD = +3.3V, VDDA = +5.0V, TA = +25C, unless otherwise noted. All specifications apply to both the DS8313 and DS8314, unless otherwise noted in the CONDITIONS column.) (Note 1)
PARAMETER CLOCK SOURCE Crystal Frequency f XTAL f XTAL1 XTAL1 Operating Conditions VIL_XTAL1 VIH_XTAL1 External Capacitance for Crystal Internal Oscillator SHUTDOWN TEMPERATURE Shutdown Temperature RST PIN Card-Inactive Mode Output Low Voltage Output Current Output Low Voltage Output High Voltage Card-Active Mode Rise Time Fall Time Current Limitation RSTIN to RST Delay CLK PIN Card-Inactive Mode Output Low Voltage Output Current Output Low Voltage Output High Voltage Rise Time Card-Active Mode Fall Time Current Limitation Clock Frequency Duty Factor Slew Rate VCC PIN Card-Inactive Mode Output Low Voltage Output Current VCC1 ICC1 ICC = 1mA VCC = 0 0 0 0.3 -1 V mA SR VOL_CLK1 I OL_CLK1 VOL_CLK2 VOH_CLK2 tR_CLK tF_CLK ICLK(LIMIT) fCLK Operational CL = 30pF CL = 30pF (Note 1) I OLCLK = 1mA VOLCLK = 0 I OLCLK = 200A I OHCLK = -200A CL = 30pF (Notes 1, 4) CL = 30pF (Notes 1, 4) -70 0 45 0.2 0 0 0 VCC 0.5 0.3 -1 0.3 VCC 8 8 +70 10 55 V mA V V ns ns mA MHz % V/ns VOL_RST1 I OL_RST1 VOL_RST2 VOH_RST2 tR_RST tF_RST IRST(LIMIT) tD(RSTIN-RST) I OL_RST = 1mA VOL_RST = 0 I OL_RST = 200A I OH_RST = -200A CL = 30pF (Note 1) CL = 30pF (Note 1) -20 0 0 0 VCC 0.5 0.3 -1 0.3 VCC 0.1 0.1 +20 2 V mA V V s s mA s T SD +150 C CXTAL1, CXTAL2 f INT 2.2 2.7 External crystal (Note 1) (Note 1) Low-level input on XTAL1 High-level input on XTAL1 0 0 -0.3 0.7 x VDD 20 20 0.3 x VDD VDD + 0.3 15 3.4 pF MHz MHz MHz SYMBOL CONDITIONS MIN TYP MAX UNITS
DS8313/DS8314
V
_______________________________________________________________________________________
3
www..com
Smart Card Interface DS8313/DS8314
RECOMMENDED DC OPERATING CONDITIONS (continued)
(VDD = +3.3V, VDDA = +5.0V, TA = +25C, unless otherwise noted. All specifications apply to both the DS8313 and DS8314, unless otherwise noted in the CONDITIONS column.) (Note 1)
PARAMETER SYMBOL CONDITIONS DS8313: ICC(5V) < 80mA, VDDA = 4.75V (Note 1) DS8313: ICC(5V) < 65mA DS8313: ICC(3V) < 65mA DS8313: ICC(1.8V) < 30mA DS8314: 65mA < ICC(5V) < 80mA DS8314: ICC(5V) < 65mA DS8314: ICC(3V) < 65mA Output Low Voltage VCC2 DS8314: ICC(1.8V) < 30mA 5V card; current pulses of 40nC with I < 200mA, t < 400ns, f < 20MHz 3V card; current pulses of 24nC with I < 200mA, t < 400ns, f < 20MHz 1.8V card; current pulses of 12nC with I < 200mA, t < 400ns, f < 20MHz VCC(5V) = 0 to 5V Output Current Shutdown Current Threshold Slew Rate DATA LINES (I/O AND I/OIN) I/O I/OIN Falling Edge Delay tD(IO-IOIN) t PU f IOMAX CI Output Low Voltage Card-Inactive Mode Output Current Internal Pullup Resistor Output Low Voltage Output High Voltage Card-Active Mode Output Rise/Fall Time Input Low Voltage Input High Voltage VOL_IO1 I OL_IO1 RPU_IO VOL_IO2 VOH_IO2 t OT VIL_IO VIH_IO I OL_IO = 1mA VOL_IO = 0 To VCC I OL_IO = 1mA I OH_IO = < -20A I OH_IO = < -40A (3V/5V) CL = 30pF (Note 1) -0.3 1.5 0 0 9 0 0.8 x VCC 0.75 x VCC 11 (Note 1) (Note 1) 200 100 1 10 0.3 -1 19 0.3 VCC VCC 0.1 +0.8 VCC ns ns MHz pF V mA k V V s V Pullup Pulse Active Time Maximum Frequency Input Capacitance I/O PIN ICC2 VCC(3V) = 0 to 3V VCC(1.8V) = 0 to 1.8V ICC(SD) VCCSR (Note 1) Up/down; C < 300nF (Note 5) 0.05 120 0.16 0.22 MIN 4.65 4.75 2.78 1.64 4.55 4.75 2.78 1.64 4.6 TYP 5 5 3 1.8 5 5 3 1.8 MAX 5.25 5.25 3.24 1.98 5.25 5.25 3.24 1.98 5.4 V UNITS
Card-Active Mode
2.75
3.25
1.62
1.98 -80 -65 -30 mA V/s mA
4
_______________________________________________________________________________________
www..com
Smart Card Interface
RECOMMENDED DC OPERATING CONDITIONS (continued)
(VDD = +3.3V, VDDA = +5.0V, TA = +25C, unless otherwise noted. All specifications apply to both the DS8313 and DS8314, unless otherwise noted in the CONDITIONS column.) (Note 1)
PARAMETER Input Low Current Input High Current Card-Active Mode Input Rise/Fall Time Current Limitation Current When Pullup Active I/OIN PIN Output Low Voltage Output High Voltage Output Rise/Fall Time Input Low Voltage Input High Voltage Input Low Current Input High Current Input Rise/Fall Time Integrated Pullup Resistor Current When Pullup Active VOL VOH t OT VIL VIH I IL_IO I IH_IO t IT RPU I PU VIL = 0 VIH = VDD VIL to VIH Pullup to VDD CL = 30pF, V OH = 0.9 x VDD 9 -1 0.3 x VDD VDD + 0.3 5 5 0 0.75 x VDD 16 24 32 0.3 x VDD 0.7 x VDD 0.3 11 I OL = 1mA I OH < -40A CL = 30pF, 10% to 90% -0.3 0.7 x VDD 0 0.75 x VDD 0.3 VDD + 0.1 0.1 0.3 x VDD VDD + 0.3 600 10 1.2 13 V V s V V A A s k mA SYMBOL I IL_IO I IH_IO t IT I IO(LIMIT) I PU CL = 30pF CL = 80pF, V OH = 0.9 x VDD -15 -1 VIL_IO = 0 VIH_IO = VCC CONDITIONS MIN TYP MAX 600 20 1.2 +15 UNITS A A s mA mA
DS8313/DS8314
CONTROL PINS (CLKDIV1, CLKDIV2, CMDVCC, RSTIN, 5V/3V, 1_8V) Input Low Voltage Input High Voltage Input Low Current Input High Current INTERRUPT OUTPUT PIN (OFF) Output Low Voltage Output High Voltage Integrated Pullup Resistor PRES PIN Input Low Voltage Input High Voltage VIL_PRES VIH_PRES V V VOL VOH RPU I OL = 2mA I OH = -15A Pullup to VDD V V k VIL VIH I IL_IO I IH_IO 0 < VIL < VDD 0 < VIH < VDD -0.3 0.7 x VDD V V A A
_______________________________________________________________________________________
5
www..com
Smart Card Interface DS8313/DS8314
RECOMMENDED DC OPERATING CONDITIONS (continued)
(VDD = +3.3V, VDDA = +5.0V, TA = +25C, unless otherwise noted. All specifications apply to both the DS8313 and DS8314, unless otherwise noted in the CONDITIONS column.) (Note 1)
PARAMETER Input Low Current Input High Current TIMING Activation Time Deactivation Time CLK to Card Start Time PRES Debounce Time Window Start Window End tACT tDEACT t3 t5 tDEBOUNCE 50 50 50 140 5 8 80 220 100 130 220 11 s s s ms SYMBOL I IL_PRES I IH_PRES CONDITIONS VIL_PRES = 0 VIH_PRES = VDD MIN TYP MAX 5 10 UNITS A A
Operation guaranteed at -40C and +85C but not tested. IDD_IC measures the amount of current used by the DS8313 to provide the smart card current minus the load. Stop mode is enabled by setting CMDVCC, 5V/3V, and 1_8V to a logic-high. Parameters are guaranteed to meet all ISO 7816, GSM11-11, and EMV 2000 requirements. For the 1.8V card, the maximum rise and fall time is 10ns. Note 5: Parameter is guaranteed to meet all ISO 7816, GSM11-11, and EMV 2000 requirements. For the 1.8V card, the minimum slew rate is 0.05V/s and the maximum slew rate is 0.5V/s. Note 1: Note 2: Note 3: Note 4:
6
_______________________________________________________________________________________
www..com
Smart Card Interface
Pin Description
PIN 1, 2 NAME CLKDIV1, CLKDIV2 5V/3V FUNCTION Clock Divider. Determines the divided-down input clock frequency (presented at XTAL1 or from a crystal at XTAL1 and XTAL2) on the CLK output pin. Dividers of 1, 2, 4, and 8 are available. 5V/3V Selection Pin. Allows selection of 5V or 3V for communication with an IC card. Logic-high selects 5V operation; logic-low selects 3V operation. The 1_8V pin overrides the setting on this pin if active. See Table 3 for a complete description of choosing card voltages. 1.8V Operation Selection. Active-high selection for 1.8V smart card communication. An active-high signal on this pin overrides any setting on the 5V/3V pin. No Connection/Don't Care. These pins are not bonded out.
DS8313/DS8314
3
4 5, 7, 8, 9, 12, 13, 27, 28 6, 18
1_8V
N.C. VDDA (N.C.)
Analog (Smart Card) Supply. Connect to 5V power supply. Pin 18 is N.C. for the DS8314. Card Presence Indicator. Active-high card presence input from the DS8313 to the microcontroller. When the presence indicator becomes active, a debounce timeout begins. After 8ms (typ), the OFF signal becomes active. A trim optim defines whether or not the part provides active-low presence detection. Smart Card Data-Line Output. Card data communication line, contact C7. Smart Card Ground Smart Card Clock. Card clock, contact C3. Smart Card Reset. Card reset output from contact C2. Smart Card Supply Voltage. Decouple to CGND (card ground) with 2 x 100nF or 100 + 220nF capacitors (ESR < 100m ). Activation Sequence Initiate. Active-low input from host. Card Reset Input. Reset input from the host. Supply Voltage Digital Ground Status Output. Active-low interrupt output to the host. Includes a 24k VDD. integrated pullup resistor to
10
PRES
11 14 15 16 17 19 20 21 22 23
I/O CGND CLK RST VCC CMDVCC RSTIN VDD GND OFF XTAL1, XTAL2 I/OIN
24, 25 26
Crystal/Clock Input. Connect an input from an external clock to XTAL1 or connect a crystal across XTAL1 and XTAL2. For the low idle-mode current variant, an external clock must be driven on XTAL1. I/O Input. Host-to-interface chip data I/O line.
_______________________________________________________________________________________
7
www..com
Smart Card Interface DS8313/DS8314
Detailed Description
The DS8313 is an analog front-end for communicating with 1.8V, 3V, and 5V smart cards. It is a dual inputvoltage device, requiring one supply to match that of a host microcontroller and a separate +5V supply for generating correct smart card supply voltages. The DS8313 translates all communication lines to the correct voltage level and provides power for smart card operation. It is a low-power device, consuming very little current in active-mode operation (during a smart card communication session), and is suitable for use in battery-powered devices such as laptops and PDAs, consuming only 10nA in stop mode. The DS8313 is designed for applications that do not require communication using the C4 and C8 card contacts (AUX1 and AUX2). It is suitable for SIM/SAM interfacing, as well as for applications where only the I/O line is used to communicate with a smart card. The DS8314 is nearly identical to the DS8313, but only uses one VDDA input; therefore, it has reduced capacity to deliver current to 5V smart cards. However, the DS8314 can drop into many existing TDA8024 applications with minimal or no hardware changes. See Figure 1 for a functional diagram.
VDD GND
POWER-SUPPLY SUPERVISOR
CARD VOLTAGE GENERATOR
VDDA VDDA*
XTAL1 XTAL2 CLKDIV1 CLKDIV2 1_8V 5V/3V CMDVCC RSTIN PRES OFF I/OIN
Power Supply
CLOCK GENERATION TEMPERATURE MONITOR
CONTROL SEQUENCER
VCC CGND RST CLK
I/O TRANSCEIVER
I/O
DS8313 DS8314 *USED ONLY ON THE DS8313.
The DS8313/DS8314 are dual-supply devices. The supply pins for the devices are VDD, GND, and VDDA. VDD should be in the 2.7V to 6.0V range, and is the supply for signals that interface with the host controller. It should, therefore, be the same supply as used by the host controller. All smart card contacts remain inactive during power-on or power-off. The internal circuits are kept in the reset state until VDD reaches VTH2 + VHYS2 and for the duration of the internal power-on reset pulse, tW. A deactivation sequence is executed when VDD falls below VTH2. An internal regulator generates the 1.8V, 3V, or 5V card supply voltage (VCC). The regulator should be supplied separately by VDDA. VDDA should be connected to a minimum 4.75V supply to provide the correct supply voltage for 5V smart cards.
Figure 1. Functional Diagram
VTH2 + VHYS2 VTH2
VDD
ALARM (INTERNAL SIGNAL)
tW POWER ON
tW SUPPLY DROPOUT
POWER OFF
Figure 2. Voltage Supervisor Behavior
8 _______________________________________________________________________________________
www..com
Smart Card Interface
Voltage Supervisor
The voltage supervisor monitors the V DD supply. A 220s reset pulse (tW) is used internally to keep the device inactive during power-on or power-off of the VDD supply. See Figure 2. The DS8313/DS8314 card interface remains inactive regardless of the levels on the command lines until duration tW after VDD has reached a level higher than V TH2 + V HYS2 . When V DD falls below V TH2 , the DS8313/DS8314 execute a card deactivation sequence if their card interface is active.
I/O Transceivers
I/O and I/OIN are pulled high with an 11k resistor (I/O to VCC and I/OIN to VDD) in the inactive state. The first side of the transceiver to receive a falling edge becomes the master. When a falling edge is detected (and the master is decided), the detection of falling edges on the line of the other side is disabled; that side then becomes a slave. After a time delay tD(EDGE), an n transistor on the slave side is turned on, thus transmitting the logic 0 present on the master side. When the master side asserts a logic 1, a p transistor on the slave side is activated during the time delay tPU and then both sides return to their inactive (pulled up) states. This active pullup provides fast low-to-high transitions. After the duration of tPU, the output voltage depends only on the internal pullup resistor and the load current. Current to and from the card I/O lines is limited internally to 15mA. The maximum frequency on these lines is 1MHz.
DS8313/DS8314
Clock Circuitry
The card clock signal (CLK) is derived from a clock signal input to XTAL1 or from a crystal operating at up to 20MHz connected between XTAL1 and XTAL2. The output clock frequency of CLK is selectable through inputs CLKDIV1 and CLKDIV2. The CLK signal frequency can be fXTAL, fXTAL/2, fXTAL/4, or fXTAL/8. See Table 1 for the frequency generated on the CLK signal given the inputs to CLKDIV1 and CLKDIV2. Note that CLKDIV1 and CLKDIV2 must not be changed simultaneously; a delay of 10ns minimum between changes is needed. The minimum duration of any state of CLK is eight periods of XTAL1. The frequency change is synchronous: during a transition of the clock divider, no pulse is shorter than 45% of the smallest period, and the first and last clock pulses about the instant of change have the correct width. When changing the frequency dynamically, the change is effective for only eight periods of XTAL1 after the command. The fXTAL duty factor depends on the input signal on XTAL1. To reach a 45% to 55% duty factor on CLK, XTAL1 should have a 48% to 52% duty factor with transition times less than 5% of the period. With a crystal, the duty factor on CLK can be 45% to 55% depending on the circuit layout and on the crystal characteristics and frequency. In other cases, the duty factor on CLK is guaranteed between 45% and 55% of the clock period.
Inactive Mode
The DS8313/DS8314 power up with the card interface in the inactive mode. Minimal circuitry is active while waiting for the host to initiate a smart card session. * All card contacts are inactive (approximately 200 to GND). * The I/OIN pin in the high-impedance state (11k pullup resistor to VDD). * Voltage generators are stopped. * XTAL oscillator is running (if included in the device). * Voltage supervisor is active. * The internal oscillator is running at its low frequency.
Activation Sequence
After power-on and the reset delay, the host microcontroller can monitor card presence with signals OFF and CMDVCC, as shown in Table 2.
Table 1. Clock Frequency Selection
CLKDIV1 0 0 1 1 CLKDIV2 0 1 1 0 fCLK f XTAL/8 f XTAL/4 f XTAL/2 f XTAL
Table 2. Card Presence Indication
OFF High Low CMDVCC High High STATUS Card present. Card not present.
_______________________________________________________________________________________
9
www..com
Smart Card Interface DS8313/DS8314
If the card is in the reader (if PRES is active), the host microcontroller can begin an activation sequence (start a card session) by pulling CMDVCC low. The following events form an activation sequence (Figure 3): 1) CMDVCC is pulled low. 2) The internal oscillator changes to high frequency (t0). 3) The voltage generator is started (between t0 and t1). 4) VCC rises from 0 to 5V, 3V, or 1.8V with a controlled slope (t2 = t1 + 1.5 x T). T is 64 times the internal oscillator period (approximately 25s). 5) I/O pin is enabled (t3 = t1 + 4T) (they were previously pulled low). 6) The CLK signal is applied to the C3 contact (t4). 7) RST is enabled (t5 = t1 + 7T). To apply the clock to the card interface: 1) Set RSTIN high. 2) Set CMDVCC low. 3) Set RSTIN low between t3 and t5; CLK will now start. 4) RST stays low until t5, then RST becomes the copy of RSTIN. 5) RSTIN has no further effect on CLK after t5. If the applied clock is not needed, set CMDVCC low with RSTIN low. In this case, CLK starts at t3 (minimum 200ns after the transition on I/O, see Figure 4); after t5, RSTIN can be set high to obtain an answer to request (ATR) from an inserted smart card. Do not perform activation with RSTIN held permanently high.
Active Mode
When the activation sequence is completed, the card interface is in active mode. The host microcontroller and the smart card exchange data on the I/O lines.
CMDVCC
VCC
I/O
ATR
CLK
RSTIN
RST
I/OIN
t0 t1
t2
t3
t4
t5 = tACT
Figure 3. Activation Sequence Using RSTIN and CMDVCC
10
______________________________________________________________________________________
www..com
Smart Card Interface DS8313/DS8314
CMDVCC
VCC
I/O
ATR
CLK
200ns RSTIN
RST
I/OIN
t0 t1
t2
t3 t4
t5 = tACT
Figure 4. Activation Sequence at t3
CMDVCC
RST
CLK
I/O
VCC
t10
t12 tDE
t13
t14
t15
Figure 5. Deactivation Sequence
______________________________________________________________________________________ 11
www..com
Smart Card Interface DS8313/DS8314
Deactivation Sequence
When a session is completed, the host microcontroller sets the CMDVCC line high to execute an automatic deactivation sequence and returns the card interface to the inactive mode (Figure 5). 1) RST goes low (t10). 2) CLK is held low (t12 = t10 + 0.5 x T) where T is 64 times the period of the internal oscillator (approximately 25s). 3) I/O pin is pulled low (t13 = t10 + T). 4) VCC starts to fall (t14 = t10 + 1.5 x T). 5) When VCC reaches its inactive state, the deactivation sequence is complete (at tDE). 6) All card contacts become low impedance to GND; I/OIN remains at VDD (pulled up through an 11k resistor). 7) The internal oscillator returns to its lower frequency.
Fault Detection
The following fault conditions are monitored: * Short-circuit or high current on VCC * Removal of a card during a transaction * VDD dropping * Card voltage generator operating out of the specified values (VDDA too low or current consumption too high) * Overheating There are two different cases (Figure 6): * CMDVCC High Outside a Card Session. Output OFF is low if a card is not in the card reader and high if a card is in the reader. The VDD supply is monitored--a decrease in input voltage generates an internal power-on reset pulse but does not affect the OFF signal. Short-circuit and temperature detection is disabled because the card is not powered up. * CMDVCC Low Within a Card Session. Output OFF goes low when a fault condition is detected, and an emergency deactivation is performed automatically (Figure 7). When the system controller resets CMDVCC to high, it may sense the OFF level again after completing the deactivation sequence. This distinguishes between a card extraction and a hardware problem (OFF goes high again if a card is present). Depending on the connector's card-present switch (normally closed or normally open) and the mechanical characteristics of the switch, bouncing can occur on the PRES signals at card insertion or withdrawal. The DS8313/DS8314 have a debounce feature with an 8ms typical duration (Figure 6). When a card is inserted, output OFF goes high after the debounce time delay. When the card is extracted, an automatic deactivation sequence of the card is performed on the first true/false transition on PRES and output OFF goes low.
VCC Generator
The V CC generator has a capacity to supply up to 80mA continuously at 5V, 65mA at 3V, and 30mA at 1.8V. An internal overload detector triggers at approximately 120mA. Current samples to the detector are filtered. This allows spurious current pulses (with a duration of a few s) up to 200mA to be drawn without causing deactivation. The average current must stay below the specified maximum current value. To maintain VCC voltage accuracy, a 100nF capacitor (with an ESR < 100m) should be connected to CGND and placed near the VCC pin, and a 100nF or 220nF capacitor (220nF is the best choice) with the same ESR should be connected to CGND and placed near the smart card reader's C1 contact.
12
______________________________________________________________________________________
www..com
Smart Card Interface DS8313/DS8314
PRES
OFF
CMDVCC DEBOUNCE VCC DEBOUNCE
DEACTIVATION CAUSED BY CARD WITHDRAWAL
DEACTIVATION CAUSED BY SHORT CIRCUIT
Figure 6. Behavior of PRES, OFF, CMDVCC, and VCC
OFF
PRES
RST
CLK
I/O
VCC
t10
t12 tDE
t13
t14
t15
Figure 7. Emergency Deactivation Sequence (Card Extraction)
______________________________________________________________________________________
13
www..com
Smart Card Interface DS8313/DS8314
Stop Mode (Low-Power Mode)
A low-power state, stop mode, can be entered by forcing the CMDVCC, 5V/3V, and 1_8V input pins to a logic-high state. Stop mode can only be entered when the smart card interface is inactive. In stop mode, all internal analog circuits are disabled. The OFF pin follows the status of the PRES pin. To exit stop mode, change the state of one or more of the three control pins to a logic-low. An internal 220s (typ) power-up delay and the 8ms PRES debounce delay are in effect and OFF is asserted to allow the internal circuitry to stabilize. This prevents smart card access from occurring after leaving the stop mode. Figure 8 shows the control sequence for entering and exiting stop mode. Note that an in-progress deactivation sequence always finishes before the DS8313/DS8314 enter low-power stop mode.
DEACTIVATE INTERFACE
CMDVCC
1_8V
ACTIVATE STOP MODE
DEACTIVATE STOP MODE
5V/3V 220s DELAY 8ms DEBOUNCE STOP MODE
OFF ASSERTED TO WAIT FOR DELAY OFF
OFF FOLLOWS PRES IN STOP MODE PRES
VCC
Figure 8. Stop-Mode Sequence
14
______________________________________________________________________________________
www..com
Smart Card Interface
Smart Card Power Select
The DS8313/DS8314 support three smart card V CC voltages: 1.8V, 3V, and 5V. The power select is controlled by the 1_8V and 5V/3V signals as shown in Table 3. The 1_8V signal has priority over 5V/3V. When 1_8V is asserted high, 1.8V is applied to VCC when the smart card is active. When 1_8V is deasserted, 5V/3V dictates VCC power range. VCC is 5V if 5V/3V is asserted to a logic-high state, and VCC is 3V if 5V/3V is pulled to a logic-low state. Care must be exercised when switching from one VCC power selection to the other. If both 1_8V and 5V/3V are high with CMDVCC high at the same time, the DS8313/DS8314 enter stop mode. To avoid accidental entry into stop mode, the state of 1_8V and 5V/3V must not be changed simultaneously. A minimum delay of 100ns should be observed between changing the states of 1_8V and 5V/3V. See Figure 9 for the recommended sequence of changing the VCC range.
DS8313/DS8314
Table 3. VCC Select and Operation Mode
1_8V 0 0 0 0 1 1 1 1 5V/3V 0 0 1 1 0 0 1 1 CMDVCC 0 1 0 1 0 1 0 1 VCC SELECT (V) 3 3 5 5 1.8 1.8 1.8 1.8 CARD INTERFACE STATUS Activated Inactivated Activated Inactivated Activated Inactivated Reserved (Activated) Not Applicable--Stop Mode
VCC SELECT
1.8V
3V
5V
3V
1.8V
STOP MODE
CMDVCC
1_8V
5V/3V
Figure 9. Smart Card Power Select
______________________________________________________________________________________
15
www..com
Smart Card Interface DS8313/DS8314
Applications Information
Performance can be affected by the layout of the application. For example, an additional cross-capacitance of 1pF between card reader contacts C2 (RST) and C3 (CLK) or C2 (RST) and C7 (I/O) can cause contact C2 to be polluted with high-frequency noise from C3 (or C7). In this case, include a 100pF capacitor between contacts C2 and CGND. Application recommendations include the following: * Ensure there is ample ground area around the DS8313/DS8314 and the connector; place the DS8313/DS8314 very near to the connector; decouple the VDD and VDDA lines separately. These lines are best positioned under the connector. * The device and the host microcontroller must use the same VDD supply. Pins CLKDIV1, CLKDIV2, RSTIN, PRES, I/OIN, 5V/3V, 1_8V, CMDVCC, and OFF are referenced to VDD; if pin XTAL1 is to be driven by an external clock, also reference this pin to VDD. * Trace C3 (CLK) should be placed as far as possible from the other traces. * The trace connecting CGND to C5 (GND) should be straight (the two capacitors on C1 (VCC) should be connected to this ground trace). * Avoid ground loops between CGND and GND. * Decouple VDDA and VDD separately. If two supplies are the same in the application, they should be connected in a star on the main trace With all these layout precautions, noise should be kept to an acceptable level and jitter on C3 (CLK) should be less than 100ps. Reference layouts are available on request.
Technical Support
For technical support, go to https://support.maximic.com/micro.
Selector Guide
PART DS8313-RRX+ DS8313L-RRX+* DS8314-RRX+* DS8314L-RRX+* LOW STOP-MODE POWER Yes Yes Yes Yes LOW ACTIVEMODE POWER Yes Yes Yes Yes PRES POLARITY Positive Negative Positive Negative VDDA INPUTS 2 2 1 1 PIN-PACKAGE 28 SO 28 SO 28 SO 28 SO
Note: Contact the factory for availability of other variants and package options. +Denotes a lead(Pb)-free/RoHS-compliant package. *Future product--contact factory for availability.
16
______________________________________________________________________________________
www..com
Smart Card Interface
Typical Application Circuit
DS8313/DS8314
VCC GPIO ... ... ... 5V/3V 1_8V OFF RSTIN CMDVCC I/OIN CLKIN
C
DS8313
GPIO ISO_DATA ISO_CLOCK
RST CLK I/O
100nF*
220nF*
CGND PRES VDD GND +10F +3.3V 100nF +3.3V 100nF +5.0V VDDA VDDA 100k
GND
*PLACE A 100nF CAPACITOR CLOSE TO DS8313 AND PLACE A 220nF CAPACITOR CLOSE TO CARD CONTACT.
Pin Configuration
TOP VIEW
CLKDIV1 1 CLKDIV2 2 5V/3V 3 1_8V 4 N.C. 5 VDDA 6 N.C. 7 N.C. 8 N.C. 9 PRES 10 I/O 11 N.C. 12 N.C. 13 CGND 14 DS8313 DS8314 28 N.C. 27 N.C. 26 I/OIN 25 XTAL2 24 XTAL1 23 OFF 22 GND 21 VDD 20 RSTIN 19 CMDVCC 18 VDDA (N.C.) 17 VCC 16 RST 15 CLK
Package Information
For the latest package outline information and land patterns, go to www.maxim-ic.com/packages. PACKAGE TYPE 28 SO PACKAGE CODE W28+1 DOCUMENT NO. 21-0042
SO
() INDICATES DS8314 ONLY.
______________________________________________________________________________________
17
www..com
Smart Card Interface DS8313/DS8314
Revision History
REVISION NUMBER 0 REVISION DATE 1/09 Initial release. Removed the TSSOP package variant from the General Description, Ordering Information, Selector Guide, and Package Information sections. Changed "(IEC)" in the Features section to "(HBM)" for the "8kV (min) ESD (HBM) Protection on Card Interfaces" bullet. DESCRIPTION PAGES CHANGED -- 1, 16, 17 1
1
5/09
Maxim cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a Maxim product. No circuit patent licenses are implied. Maxim reserves the right to change the circuitry and specifications without notice at any time.
18 ____________________Maxim Integrated Products, 120 San Gabriel Drive, Sunnyvale, CA 94086 408-737-7600 (c) 2009 Maxim Integrated Products Maxim is a registered trademark of Maxim Integrated Products, Inc.


▲Up To Search▲   

 
Price & Availability of DS8313

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X